<html>
	<head>
		<script type="text/javascript" 
		src="../js/jquery-1.4.3.js"></script>
		<script src="resize.js"></script>
	</head>
	<body style="font-size:30px;" onresize="test()">
		<div id="d1"  style="width: 100%; height: 200px; border: 1px solid red;"></div>
		<div id="d2"  style="width: 100%; height: 200px; border: 1px solid red;"></div>
		<button onclick="ff()">click</button>
		
	<!--
		name:<input name="name" id="name"/>
		age:<input name="age"/><br/>
		<a href="javascript:;" id="a1" >ClickMe</a>
		-->
	</body>
	<script type="text/javascript">
			
			function ff(){
				$("div").toggle();
			}
			function test(){
				console.log("test")
			}
			$("div").resize(function(){
				console.log("window")
			});
//			 var w = $("body").width(500);
//			 console.log(w) 
		</script>
</html>